package org.example;

import org.springframework.stereotype.Component;

/**
 * ClassName: WuDa
 * Package: org.example
 * Description: 目标类：Target.class
 *              JDK动态代理的前提是：目标类必须要有父接口
 * @Author wanghao
 * @Create 2024-07-08 8:44
 * @Version 1.0
 */
//@Component
public final class WuDa3 {
    // 目标方法

    public void saleShaoBing() {
        System.out.println("五道口烤饼店卖烤饼");
    }


    public void saleJianBing() {
        System.out.println("五道口烤饼店卖煎饼");
    }


    public void saleYueBing() {
        System.out.println("五道口烤饼店卖月饼");
    }


    public void saleJuice() {

        System.out.println("五道口烤饼店卖果汁");
    }
}
